package com.dfire.soa.mcsao.controller;

import com.dfire.soa.mcsao.bo.Action;
import com.dfire.soa.mcsao.mapper.ActionMapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created mangcao with 2019/11/21 21:46
 * Description:
 */
@RestController
@RequestMapping("mapper")
public class DBController {

    @Resource
    private ActionMapper actionMapper;
    @RequestMapping("/action")
    public Action actionMapper(){
        return actionMapper.selectByPrimaryKey("12e8262c21644bc387f3820b8e3b5a9e");
    }
}
